package liuhe.thread;

import liuhe.manager.MergeManager;

public class MergeThread extends Thread {
	public MergeManager mergeManager = null;
	public MergeThread(MergeManager m) {
		mergeManager = m;
	}
	@Override
    public void run() {
		while(true) {
			try {
				mergeManager.construcMergeData();
				mergeManager.construcMergeDataOld();
				Thread.sleep(10*1000);
			}catch(Exception e) {
				e.printStackTrace();
			}

		}
	}
}
